package com.liu.activiti.activiti.qingjia;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

@Service("messageServer")
@Slf4j
public class MessageServer implements JavaDelegate {

    @Override
    public void execute(DelegateExecution execution) {
        String kzUserId = execution.getVariable("kzUserId", String.class);
        log.info("MessageServer发送消息  给kzUserId:{}", kzUserId);
    }
}
